
#ifndef PROG_USARTMENU_H
#define PROG_USARTMENU_H

#include "defines.h"
#include <avr/io.h>
#include <avr/interrupt.h>

#include "mcp2515.h"
#include "time.h"
#include "module_events.h"
#include "module_io.h"

int8_t prog_usartmenu_init(void);
int8_t prog_usartmenu_uninit(void);
int8_t prog_usartmenu_run(void);

void usart_menu(void);
void usart_read_selection(void);
void prog_usartmenu_uartchar(Event *);

void usart_print_temperature(int16_t temperature);
uint16_t usart_read_servo(void);

#endif